package com.bj.barcode;

import java.util.HashMap;
import java.util.Map;

public class ConstantStri {
	public static final String  weiboUsersFile="c:/java/QQWeibo/weiboUsers.conf";
	public static final String  barCodeConf="c:/barcode.conf";
	public static final String  users="c:/java/QQWeibo/users.conf";
	public static final String  password="c:/java/QQWeibo/pass.conf";
	public static final String  emails="c:/java/QQWeibo/email.conf";
	public static final String  messages="c:/java/QQWeibo/msg.conf";
	public static final String  keywords="c:/java/QQWeibo/keywords.conf";
	public static final String  urls="c:/java/QQWeibo/urls.conf";
	public static final String  upLoadURL="http://stjack.no-ip.org:8081/WebTruth/weibo";
    public static final String  idleImageName="c:/idleImage.png";
    public static final String  hangupADSL="cmd /c start c:\\startUpFFADSL.bat";//
	public static final String  FFLogout  ="cmd /c start c:\\startUpFF.bat";
	public static final String  ADSL  ="cmd /c start c:\\adsl.bat";
	public static final int 	CheckLimit=120;//验证码的心跳检测次数
	public static final  int    beatInvl=450;//每次心跳间隔毫秒
	public static final  int    connInvl=1550;//网络异常时重新连接的间隔时间(毫秒)
	public static final String token=",";
	
	public static final String 	TRIGGERNAME = "triggerName";
	public static final String 	TRIGGERGROUP = "triggerGroup";
	public static final String STARTTIME = "startTime";
	public static final String ENDTIME = "endTime";
	public static final String START = "start";
	public static final String END = "end";
	public static final String sendMessageFlag = "sendMessageFlag";
	
	public static final String REPEATCOUNT = "repeatCount";
	public static final String REPEATINTERVEL = "repeatInterval";
	public static final String USERNAME = "username";
	public static final String PASSWORD = "password";
	public static final int 	taskMaxInterval=600;	//表示任务间隔休息时间是100秒
	public static final int 	taskMinInterval=300;	//表示任务间隔休息时间是100秒
	public static  String 		START_QQ_TRIGGER = "Start_QQ_Trigger_";
	public static  String 		END_QQ_TRIGGER = "End_QQ_Trigger_";
	public static final double BASE_STOP=0.80;//任务至少执行155%的时间
	public static final double FLEXIBLE_STOP=0.19;
	public static final long  MESSAGE_SENDING_INTERVAL=3*24*60*60*1000;//发送2条消息的间隔时间 == 3天
	public static final long  MESSAGE_SENDING_INTERVAL_DAYS=3;
	public static final int   WAIT_TIMEOUT_600=600;
	public static final int   WAIT_TIMEOUT_300=300;
	public static final int   WAIT_TIMEOUT_180=180;
	public static final int   WAIT_TIMEOUT_120=120;
	public final static long  expireVerifyCode=30*60*1000;//过期时间
	
	public static final int   WAIT_TIMEOUT_60=60;
	public static final int   WAIT_TIMEOUT_30=30;
	public static final int   WAIT_TIMEOUT_20=20;
	public static final int   WAIT_TIMEOUT_10=10;
	public static final int   WAIT_TIMEOUT_5=5;
	public static final long  FILE_SCAN_INTERVAL=120*1000;
	public static final int   FORCE_TO_RELOAD=120;
	public static final String   DATE_PAST="1999-07-20 00:00:00";//觸發器的過去執行時間，永遠不執行！
	
	public static final Map<String,String> status = new HashMap<String,String>();
	static{
		status.put("ACQUIRED", "运行中");
		status.put("PAUSED", "暂停中");
		status.put("WAITING", "等待中");		
	}
}
